<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Logout extends CI_Controller {
     
	 public function __construct()
	 {
	    parent::__construct();
         $this->load->library('session');
	 }
	 
	 public function index(){
	 
		$this->session->sess_destroy(); 
		header("location:".$this->config->base_url()."index.php/login");
	 }

}

/* End of file logout.php */
/* Location: ./application/controllers/logout.php */
